package com.xueyi.system.parcel.domain.dto;

import com.xueyi.system.parcel.domain.po.BaseParcelPo;
import com.baomidou.mybatisplus.annotation.TableName;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 地块管理 数据传输对象
 *
 * @author yanhe
 */
public class BaseParcelDto extends BaseParcelPo {

    private static final long serialVersionUID = 1L;

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("code", getCode())
            .append("areaId", getAreaId())
            .append("areaName", getAreaName())
            .append("img", getImg())
            .append("type", getType())
            .append("property", getProperty())
            .append("area", getArea())
            .append("location", getLocation())
            .append("ambientData", getAmbientData())
            .append("soilReport", getSoilReport())
            .append("waterReport", getWaterReport())
            .append("gisMap", getGisMap())
            .append("intro", getIntro())
            .append("content", getContent())
            .append("remark", getRemark())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createName", getCreateName())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateName", getUpdateName())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}